package com.bdqn;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@MapperScan("com.bdqn.dao")
@EnableEurekaClient   //开启后 自动向注册中心注册服务
@EnableDiscoveryClient //服务发现
public class Spring_cloud_provider_dept_8001_start {

    public static void main(String[] args) {
        SpringApplication.run(Spring_cloud_provider_dept_8001_start.class, args);
    }

}
